home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / pinit.arc / PINIT.ASM next >
Encoding:
Assembly Source File  |  1987-03-04  |  562 b   |  29 lines

  1.     page    60,132
  2.     name    pinit
  3.     title    PINIT.ASM - Printer initialization routine
  4.  
  5. ;*************************************************************************
  6. ;  Syntax:
  7. ;    call pinit - does hardware initialization of printer
  8. ;*************************************************************************
  9.  
  10. data    segment    word public 'data'
  11. data    ends
  12.  
  13. dgroup    group    data
  14.  
  15. code    segment byte public 'code'
  16.     assume    cs:code, ds:dgroup
  17.  
  18.     public    pinit
  19.  
  20. pinit    proc    far    ;hardware reset the printer
  21.     mov    dx,0
  22.     mov    ah,1
  23.     int    17h
  24.     ret
  25. pinit    endp
  26.  
  27. code    ends
  28.     end
  29.